
const state = {
    user:'同学'
}
const mutations = {
    GETUSER(state,user){
        state.user = user;
    }

}
const actions = {
}
const getters = {}

export default {
    namespaced: true, //命名空间是防止仓库中出现同名的情况
    state,
    mutations,
    actions,
    getters,
  }